package org.ls.petclinic.dao;

import org.ls.petclinic.pojo.Pets;

import java.util.List;

public interface PetsDao {
    List<Pets> getAll();
    List<Pets> getByName(String name);
    List<Pets> getByOwnerId(Long ownerId);

    int add(Pets pets);

    Pets getById(Long id);
}
